package com.cinc.ebc.quote.project.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 项目
 * @Author: jeecg-boot
 * @Date:   2022-08-20
 * @Version: V1.0
 */
@ApiModel(value="quote_project对象", description="项目")
@Data
@TableName("quote_project")
public class QuoteProject implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id;
	/**项目编号*/
	@Excel(name = "项目编号", width = 15)
    @ApiModelProperty(value = "项目编号")
    private String projectNo;
	/**项目名称*/
	@Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String projectName;
	/**客户*/
	@Excel(name = "客户", width = 15, dictTable = "mdm_customer", dicText = "cust_full_name", dicCode = "id")
    @Dict(dictTable = "mdm_customer", dicText = "cust_full_name", dicCode = "id")
    @ApiModelProperty(value = "客户")
    private String customerId;
	/**终端用户*/
	@Excel(name = "终端用户", width = 15)
    @ApiModelProperty(value = "终端用户")
    private String customerEnd;
    /**项目描述*/
    @Excel(name = "项目描述", width = 15)
    @ApiModelProperty(value = "项目描述")
    private String projectDesc;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "quote_project_status")
    @Dict(dicCode = "quote_project_status")
    @ApiModelProperty(value = "状态")
    private String status;
	/**联系人*/
    @Excel(name = "联系人", width = 15, dictTable = "mdm_customer_contacts", dicText = "name", dicCode = "id")
    @Dict(dictTable = "mdm_customer_contacts", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "联系人")
    private String contactsId;
    /**联系电话*/
    @Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private String contactsPhone;
	/**省市区*/
	@Excel(name = "省市区", width = 15)
    @ApiModelProperty(value = "省市区")
    private String adminArea;
	/**详细地址*/
	@Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private String address;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**金额*/
    @Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;
    /**数量*/
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal qty;
    /**产品价格*/
    @Excel(name = "产品价格", width = 15)
    @ApiModelProperty(value = "产品价格")
    private java.math.BigDecimal productPrice;
    /**包装费*/
    @Excel(name = "包装费", width = 15)
    @ApiModelProperty(value = "包装费")
    private java.math.BigDecimal packingPrice;
    /**运输费*/
    @Excel(name = "运输费", width = 15)
    @ApiModelProperty(value = "运输费")
    private java.math.BigDecimal transportPrice;
    /**运载工具车*/
    @Excel(name = "运载工具车", width = 15)
    @ApiModelProperty(value = "运载工具车")
    private java.math.BigDecimal transportCar;
    /**币种*/
    @Excel(name = "币种", width = 15, dictTable = "mdm_currency", dicText = "currency_name", dicCode = "currency_no")
    @Dict(dictTable = "mdm_currency", dicText = "currency_name", dicCode = "currency_no")
    @ApiModelProperty(value = "币种")
    private java.lang.String currency;
	/**负责人*/
	@Excel(name = "负责人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "负责人")
    private String owner;
	/**负责部门*/
	@Excel(name = "负责部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    @ApiModelProperty(value = "负责部门")
    private String ownerDept;
    /**报价单号*/
    @Excel(name = "报价单号", width = 15)
    @ApiModelProperty(value = "报价单号")
    private String quoteNo;
    /**报价人*/
    @Excel(name = "报价人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "报价人")
    private String quoteMan;
    /**报价审核人*/
    @Excel(name = "报价审核人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "报价审核人")
    private String quoteConfirmMan;
	/**删除标志*/
	@Excel(name = "删除标志", width = 15)
    @ApiModelProperty(value = "删除标志")
    private String deleteFlag;
    /**日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private Date projectDate;
	/**创建人*/
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**所属部门*/
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private Integer tenantId;
    /**附件*/
    @ApiModelProperty(value = "附件")
    private String file;
    /**采购计划标志*/
    @ApiModelProperty(value = "采购计划标志")
    private String reqFlag;
    /**销售合同标志*/
    @ApiModelProperty(value = "销售合同标志")
    private String saleContractFlag;
}
